<template>
	<view class="content">
		<!-- 头部 -->
		<customHeader></customHeader>
		<!-- 内容 -->
		<view class="content_center">
			<!-- 滑块视图容器 -->
			<swiper class="swiper_content" :indicator-dots="true" indicator-active-color="#fff">
				<swiper-item style="height: 100%;">
					<view class="swiper_item">
						<view class="item">
							<view class="item_num">
								<text>0</text>
								<text>元</text>
							</view>
							<view>今日销售</view>
						</view>

						<view class="item">
							<view class="item_num">
								<text>0</text>
								<text>人</text>
							</view>
							<view>今日新增</view>
						</view>

						<view class="item">
							<view class="item_num">
								<text>0</text>
								<text>件</text>
							</view>
							<view>库存总数</view>
						</view>

					</view>
				</swiper-item>
				<swiper-item style="height: 100%;">
					<view class="swiper_item">
						<view class="item">
							<view class="item_num">
								<text>0</text>
								<text>元</text>
							</view>
							<view>本月销售</view>
						</view>

						<view class="item">
							<view class="item_num">
								<text>0</text>
								<text>人</text>
							</view>
							<view>本月新增</view>
						</view>

						<view class="item">
							<view class="item_num">
								<text>0</text>
								<text>件</text>
							</view>
							<view>库存总数</view>
						</view>
					</view>
				</swiper-item>
			</swiper>
			<!--  -->
			<view class="bgc"></view>
			<!-- 中间菜单页面 -->
			<view class="menu_content">
				<view class="content_page">

				</view>
			</view>

			<!--  -->
		</view>
	</view>
</template>

<script>
import customHeader from "@/components/custom-header/custom-header.vue";
	export default {
		components: {
			customHeader,
		},
		data() {
			return {
				
			}
		},
		onLoad() {
		},
		methods: {

		}
	}
</script>

<style lang="less" scoped>
.content {
	.content_center {
		position: relative;
		.swiper_content {
			background: #4884e3;
			height: 200rpx;
			.swiper_item {
				display: flex;
				align-items: center;
				justify-content: space-around;
				width: 100%;
				height: 100%;

				.item {
					display: flex;
					flex-direction: column;
					justify-content: center;
					align-items: center;
					color: #fff;
					font-size: 20rpx;

					.item_num {
						margin-bottom: 10rpx;
						text:nth-child(1) {
							font-size: 35rpx;
							margin-right: 5rpx;
						}
					}
				}
			}
		}

		.bgc {
			width: 100%;
			height: 150rpx;
			background: #4884e3;
			border-bottom-left-radius: 30rpx;
			border-bottom-right-radius: 30rpx;
		}
		.menu_content {
			position: absolute;
			top: 230rpx;
			width: 100%;
			height: 300rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			
			.content_page {
				width: 90%;
				height: 100%;
				background: #fff;
				border-radius: 20rpx;
				box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* 卡片阴影效果 */
			}	
		}


	}
}
</style>
